package com.xingkeduo.service.impl;

import com.xingkeduo.dao.operation.TShopsMapper;
import com.xingkeduo.dao.workpad.TStoreWorkPlanMapper;
import com.xingkeduo.model.po.TShops;
import com.xingkeduo.model.po.TStoreWorkPlan;
import com.xingkeduo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: 中文输入法发挥不稳定的刘川
 * @Date: 19-3-11 下午9:00
 */
@Service
public class TestServiceImpl implements TestService {
    @Autowired
    private TStoreWorkPlanMapper tStoreWorkPlanMapper;
    @Autowired
    private TShopsMapper shopsMapper;

    @Override
    public List<TStoreWorkPlan> allList() {
        return tStoreWorkPlanMapper.selectAll();
    }

    @Override
    public List<TShops> shopList() {
        return shopsMapper.selectAll();
    }

    @Override
    public List<TShops> getIdAndNameList() {
        return shopsMapper.getIdAndNameList();
    }
}
